<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<h:head>
	<title>Pesquisa de Produtos</title>
</h:head>

<h:body>
	<h:form id="frm">
		<h:panelGrid>
			<h:panelGroup>
				<h:outputText value="Fabricantes: " />
				<h:selectOneMenu id="cmbFabricantes" required="true"
					value="#{produtosMB.codFabricante}">
					<f:selectItem itemValue="0" itemLabel="Selecione um Fabricante" />
					<f:selectItems value="#{produtosMB.fabricantes}" var="item"
						itemLabel="#{item.nome}" itemValue="#{item.codigo}" />
				</h:selectOneMenu>

				<h:message for="cmbFabricantes" />
			</h:panelGroup>
		</h:panelGrid>
	</h:form>
</h:body>

</html>